package event.mouse;

import javax.swing.*;

public class TestMouseEvent extends JFrame {
    public TestMouseEvent(){
        this.setSize(500, 500);
        this.setDefaultCloseOperation(3);
        this.setLocationRelativeTo(null);
        this.setLayout(null);

        MouseEventListener mel = new MouseEventListener();

        this.addMouseListener(mel);

        this.setVisible(true);
    }

    public static void main(String[] args){
        new TestMouseEvent();
    }
}
